package com.gugee.ins.common.dal.service.comment;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gugee.ins.common.model.mysql.comment.InsComment;

import java.util.List;

/**
 * insBlogger dao
 * @author Huangxin
 */
public interface InsCommentDao extends IService<InsComment> {
    /**
     * 批量插入
     * @param insComments
     */
    void batchInsert(List<InsComment> insComments);

    /**
     * 删除帖子的评论数据
     * @param shortcode
     */
    void deleteByShortcode(String shortcode);

    /**
     * 根据 博主uid 查找未分析语言的活跃粉丝的评论
     * @param uid
     * @return
     */
    List<InsComment> findAnalysisLanguageCommentByUid(long uid);
}
